﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Design/Design.Master" AutoEventWireup="true" CodeBehind="DailyAccount.aspx.cs" Inherits="Slja.WEB.Finance.DailyAccount" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  <script type="text/javascript" src="/inc/JS/jquery.js"></script>
  <link type="text/css" href="/inc/style/biz.css" rel="Stylesheet"/>
  <style type="text/css">
    #divGVContainer{width:100%;height:500px;}
    #divGVContainer div{width:100%;height:100%;overflow:auto;position:relative;}
    
  </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript">
    function loadPage(type) {
        window.location.href = "datainput.aspx?type=" + type;
    }
    function OutputPage() {
        window.showModalDialog('OutputData.aspx?year='
        + $("#ctl00_ContentPlaceHolder1_drpYear").val()
        + "&month=" + $("#ctl00_ContentPlaceHolder1_drpMonth").val()
        +"&rdm="+Math.random()
        );
    }
</script>
<h1 style="height:40px;text-align:center;">合约统计</h1>
<fieldset style="background-color:#f6f9fe;padding:5px;">
<div>输入项：
    <input type="button" id="btnReceivableAcco" value="应收" onclick="loadPage('Receivable');" class="btnblue1"/>&nbsp;&nbsp;
    <input type="button" id="btnPayableAcco" value="应付" onclick="loadPage('Payable');"  class="btnblue1"/>&nbsp;&nbsp;
    <input type="button" id="btnCheckingAcco" value="项目核算" onclick="loadPage('Checking');"  class="btnblue1"/>
</div>
<br />
<div>
   年份：<asp:DropDownList runat="server" ID="drpYear">
        <asp:ListItem Text="2011" Value="2011"></asp:ListItem>
        <asp:ListItem Text="2012" Value="2012" Selected="True"></asp:ListItem>
        <asp:ListItem Text="2013" Value="2013"></asp:ListItem>
        <asp:ListItem Text="2014" Value="2014"></asp:ListItem>
    </asp:DropDownList>
    月份：<asp:DropDownList runat="server" ID="drpMonth"></asp:DropDownList>   
     <div class="clear"></div>
</div>
</fieldset>
<br />
<div style="text-align:center;" id="divGVContainer"> 
    <asp:Button runat="server" ID="btnGenerate" Text="统计" class="btnblue1"  />
    <asp:Button runat="server" ID="btnOutput" Text="导出" Visible="false" class="btnblue1" />
     <asp:GridView runat="server" ID="GridView1" CssClass="ListTbl" ViewStateMode="Disabled">
        </asp:GridView>
    </div>
</asp:Content>
